use of com.microsoft.azure.sdk.iot.deps.serializer.AuthenticationParser in project azure-iot-sdk-java by Azure.
the class AuthenticationParserTest method testAuthenticationTypeParserProperty.
// Tests_SRS_AUTHENTICATION_PARSER_34_002: [This method shall return the value of this object's authenticationTypeParser.]
// Tests_SRS_AUTHENTICATION_PARSER_34_008: [This method shall set the value of this object's authentication type equal to the provided value.]
@Test
public void testAuthenticationTypeParserProperty() {
// arrange
AuthenticationParser parser = new AuthenticationParser();
// act
parser.setType(AuthenticationTypeParser.SAS);
// assert
assertEquals(AuthenticationTypeParser.SAS, parser.getType());
}
Aggregations