@Test public void hasSameBapiInterceptorsAfterDeserialization() throws Exception { SessionManagerImpl managerRead = serializeAndDeserializeSessionManager(); final Set<BapiInterceptor> bapiInterceptors = managerRead.getBapiInterceptors(); assertThat(bapiInterceptors).isNotNull(); assertThat(bapiInterceptors).hasSize(1); assertThat(bapiInterceptors.iterator().next()).isInstanceOf(BeanValidationInterceptor.class); }
public Set<BapiInterceptor> getBapiInterceptors() { assertNotClosed(); return bapiInterceptors; }
SessionManagerImpl implements SessionManager, SessionManagerImplementor { public Set<BapiInterceptor> getBapiInterceptors() { assertNotClosed(); return bapiInterceptors; } }
SessionManagerImpl implements SessionManager, SessionManagerImplementor { public Set<BapiInterceptor> getBapiInterceptors() { assertNotClosed(); return bapiInterceptors; } SessionManagerImpl(final ConfigurationData data, final Context context); }
SessionManagerImpl implements SessionManager, SessionManagerImplementor { public Set<BapiInterceptor> getBapiInterceptors() { assertNotClosed(); return bapiInterceptors; } 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<BapiInterceptor> getBapiInterceptors() { assertNotClosed(); return bapiInterceptors; } 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();  }