use of com.microsoft.azure.sdk.iot.device.DeviceTwin.Property in project azure-iot-sdk-java by Azure.
the class PropertyTest method getKeyGets.
/*
**Tests_SRS_Property_25_003: [**The function shall return the value of the key corresponding to this property.**]**
*/
@Test
public void getKeyGets() {
//arrange
Property testProp = new Property("TestProp", 1);
//assert
assertNotNull(testProp);
assertEquals(testProp.getKey(), "TestProp");
}
Aggregations