### Question:
ManagedEngine implements ModeShapeManagedObject { @ManagementOperation(description = "Obtains the managed sequencing service of this engine", impact = Impact.ReadOnly) public SequencingService getSequencingService() { if (!isRunning()) return null; return getEngine().getSequencingService(); } ManagedEngine();  ManagedEngine(JcrEngine engine); void setConfigURL(URL configurationUrl); @ManagementOperation(description = "Starts this engine", impact = Impact.Lifecycle) synchronized void start(); @ManagementOperation(description = "Indicates if this engine is running", impact = Impact.ReadOnly) synchronized boolean isRunning(); @ManagementOperation(description = "Restarts this engine", impact = Impact.Lifecycle) synchronized void restart(); @ManagementOperation(description = "Shutdowns this engine", impact = Impact.Lifecycle) synchronized void shutdown(); @ManagementOperation(description = "Obtains the managed connectors of this engine", impact = Impact.ReadOnly) Collection<ManagedConnector> getConnectors(); @ManagementOperation(description = "Get the number of connections currently in use", impact = Impact.ReadOnly) long getInUseConnections(String connectorName); @ManagementOperation(description = "Get the number of sessions currently active", impact = Impact.ReadOnly) long getActiveSessions(String repositoryName); @ManagementOperation(description = "Obtains the properties for an object", impact = Impact.ReadOnly) List<ManagedProperty> getProperties(String objectName,
			Component objectType); @ManagementOperation(description = "Obtains the managed repositories of this engine", impact = Impact.ReadOnly) Collection<ManagedRepository> getRepositories(); JcrRepository getRepository(String repositoryName); @ManagementOperation(description = "The JCR version supported by this repository", impact = Impact.ReadOnly) String getRepositoryVersion(String repositoryName); @ManagementProperty(name = "Query Activity", description = "The number of queries executed", use = ViewUse.STATISTIC) int getQueryActivity(); @ManagementProperty(name = "Save Activity", description = "The number of nodes saved", use = ViewUse.STATISTIC) int getSaveActivity(); @ManagementProperty(name = "Session Activity", description = "The number of sessions created", use = ViewUse.STATISTIC) Object getSessionActivity(); @ManagementOperation(description = "Obtains all the managed locks sorted by the owner", impact = Impact.ReadOnly) List<ManagedLock> listLocks(); List<ManagedLock> listLocks(Comparator<ManagedLock> lockSorter); @ManagementOperation(description = "Obtains the managed sessions sorted by user name", impact = Impact.ReadOnly) List<ManagedSession> listSessions(); List<ManagedSession> listSessions(
			Comparator<ManagedSession> sessionSorter); @ManagementOperation(description = "Removes the lock with the specified ID", impact = Impact.WriteOnly, params = { @ManagementParameter(name = "lockId", description = "The lock identifier") }) boolean removeLock(String lockId); @ManagementOperation(description = "Terminates the session with the specified ID", impact = Impact.WriteOnly, params = { @ManagementParameter(name = "sessionId", description = "The session identifier") }) boolean terminateSession(String sessionId); RepositorySource getConnector(String connectorName); @ManagementOperation(description = "Pings a connector by name", impact = Impact.ReadOnly) boolean pingConnector(String connectorName); @ManagementOperation(description = "Obtains the managed sequencing service of this engine", impact = Impact.ReadOnly) SequencingService getSequencingService(); @ManagementOperation( description = "Obtains the descriptors for a JCRRepository as ManagedProperties", impact = Impact.ReadOnly ) List<ManagedProperty> getRepositoryProperties(String repositoryName); @ManagementOperation(description = "Obtains the version of this ModeShape instance", impact = Impact.ReadOnly) synchronized String getVersion();  }### Answer:
@Test public void shouldGetSequencingService() throws Exception { assertThat(me.getSequencingService(), is(notNullValue())); }