@Test public void deregisterWhenNoRegistered() { final ReplicantRuntime runtime2 = Replicant.context().getRuntime(); final SystemSchema schema = newSchema(); final Connector connector1 = createConnector( schema ); safeAction( () -> runtime2.deregisterConnector( connector1 ) ); final IllegalStateException exception = expectThrows( IllegalStateException.class, () -> safeAction( () -> runtime2.deregisterConnector( connector1 ) ) ); assertEquals( exception.getMessage(), "Replicant-0006: Invoked deregisterConnector for schema named '" + schema.getName() + "' but no Connector for specified schema exists." ); }
void deregisterConnector( @Nonnull final Connector connector ) { getConnectorsObservableValue().preReportChanged(); detachConnector( connector ); getConnectorsObservableValue().reportChanged(); }
ReplicantRuntime { void deregisterConnector( @Nonnull final Connector connector ) { getConnectorsObservableValue().preReportChanged(); detachConnector( connector ); getConnectorsObservableValue().reportChanged(); } }
ReplicantRuntime { void deregisterConnector( @Nonnull final Connector connector ) { getConnectorsObservableValue().preReportChanged(); detachConnector( connector ); getConnectorsObservableValue().reportChanged(); }  }
ReplicantRuntime { void deregisterConnector( @Nonnull final Connector connector ) { getConnectorsObservableValue().preReportChanged(); detachConnector( connector ); getConnectorsObservableValue().reportChanged(); }  @Action( verifyRequired = false, reportParameters = false ) void setAuthToken( @Nullable final String authToken ); }
ReplicantRuntime { void deregisterConnector( @Nonnull final Connector connector ) { getConnectorsObservableValue().preReportChanged(); detachConnector( connector ); getConnectorsObservableValue().reportChanged(); }  @Action( verifyRequired = false, reportParameters = false ) void setAuthToken( @Nullable final String authToken );  }