use of org.neo4j.jmx.impl.ManagementData in project neo4j by neo4j.
the class HighAvailabilityBeanTest method setup.
@Before
public void setup() throws NotCompliantMBeanException {
fileSystem = new DefaultFileSystemAbstraction();
kernelData = new TestHighlyAvailableKernelData();
data = new ManagementData(bean, kernelData, ManagementSupport.load());
when(db.getDependencyResolver()).thenReturn(dependencies);
haBean = (HighAvailability) new HighAvailabilityBean().createMBean(data);
}
Aggregations