@Test public void hasSameExecutionInterceptorsAfterDeserialization() throws Exception { SessionManagerImpl managerRead = serializeAndDeserializeSessionManager(); final Set<ExecutionInterceptor> executionInterceptors = managerRead.getExecutionInterceptors(); assertThat(executionInterceptors).isNotNull(); assertThat(executionInterceptors).hasSize(1); assertThat(executionInterceptors.iterator().next()).isInstanceOf(SapErrorInterceptor.class); }
public Set<ExecutionInterceptor> getExecutionInterceptors() { assertNotClosed(); return executionInterceptors; }
SessionManagerImpl implements SessionManager, SessionManagerImplementor { public Set<ExecutionInterceptor> getExecutionInterceptors() { assertNotClosed(); return executionInterceptors; } }
SessionManagerImpl implements SessionManager, SessionManagerImplementor { public Set<ExecutionInterceptor> getExecutionInterceptors() { assertNotClosed(); return executionInterceptors; } SessionManagerImpl(final ConfigurationData data, final Context context); }
SessionManagerImpl implements SessionManager, SessionManagerImplementor { public Set<ExecutionInterceptor> getExecutionInterceptors() { assertNotClosed(); return executionInterceptors; } SessionManagerImpl(final ConfigurationData data, final Context context); void close(); boolean isClosed(); Map<String, BapiMapping> getBapiMappings(); ConverterCache getConverterCache(); SessionManagerConfig getConfig(); Context getContext(); Session openSession(); Session openSession(final Credentials credentials); Set<ExecutionInterceptor> getExecutionInterceptors(); Set<BapiInterceptor> getBapiInterceptors(); @Override String toString(); }
SessionManagerImpl implements SessionManager, SessionManagerImplementor { public Set<ExecutionInterceptor> getExecutionInterceptors() { assertNotClosed(); return executionInterceptors; } SessionManagerImpl(final ConfigurationData data, final Context context); void close(); boolean isClosed(); Map<String, BapiMapping> getBapiMappings(); ConverterCache getConverterCache(); SessionManagerConfig getConfig(); Context getContext(); Session openSession(); Session openSession(final Credentials credentials); Set<ExecutionInterceptor> getExecutionInterceptors(); Set<BapiInterceptor> getBapiInterceptors(); @Override String toString();  }