use of com.iplanet.dpro.session.operations.strategies.RemoteOperations in project OpenAM by OpenRock.
the class RemoteSessionOperationStrategyTest method shouldProvideRemoteOperationStrategy.
@Test
public void shouldProvideRemoteOperationStrategy() {
// Given
RemoteOperations mockRemote = mock(RemoteOperations.class);
RemoteSessionOperationStrategy strategy = new RemoteSessionOperationStrategy(mockRemote);
// When
SessionOperations operation = strategy.getOperation(null);
// Then
assertThat(operation).isEqualTo(mockRemote);
}
Aggregations