use of com.microsoft.azure.sdk.iot.deps.transport.amqp.SaslHandler in project azure-iot-sdk-java by Azure.
the class SaslListenerImplTest method constructorSavesProvidedHandler.
// Tests_SRS_SASLLISTENERIMPL_34_001: [This constructor shall save the provided handler.]
@Test
public void constructorSavesProvidedHandler() {
// act
SaslListenerImpl saslListener = new SaslListenerImpl(mockedSaslHandler);
// assert
SaslHandler actualSaslHandler = Deencapsulation.getField(saslListener, "saslHandler");
assertEquals(mockedSaslHandler, actualSaslHandler);
}
Aggregations