assertEquals("direct://start", mbean.getEndpointUri());
// should be started
assertEquals("Should be started", ServiceStatus.Started.name(), mbean.getState());
mbean.stop();
// should be stopped
assertEquals("Should be stopped", ServiceStatus.Stopped.name(), mbean.getState());
}