org.junit.internal.management.FakeRuntimeMXBean Maven / Gradle / Ivy
package org.junit.internal.management;
import java.util.Collections;
import java.util.List;
/**
* No-op implementation of RuntimeMXBean when the platform doesn't provide it.
*/
class FakeRuntimeMXBean implements RuntimeMXBean {
/**
* {@inheritDoc}
*
* Always returns an empty list.
*/
public List getInputArguments() {
return Collections.emptyList();
}
}