org.junit.internal.management.FakeRuntimeMXBean Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of junit Show documentation
Show all versions of junit Show documentation
JUnit is a unit testing framework for Java, created by Erich Gamma and Kent Beck.
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();
}
}