use of com.microsoft.azure.sdk.iot.device.transport.https.HttpsBatchMessage in project azure-iot-sdk-java by Azure.
the class HttpsBatchMessageTest method getContentTypeReturnsCorrectContentType.
// Tests_SRS_HTTPSBATCHMESSAGE_11_011: [The function shall return 'application/vnd.microsoft.iothub.json'.]
@Test
public void getContentTypeReturnsCorrectContentType() {
HttpsBatchMessage batchMsg = new HttpsBatchMessage();
String testContentType = batchMsg.getContentType();
final String expectedContentType = "application/vnd.microsoft.iothub.json";
assertThat(testContentType, is(expectedContentType));
}
Aggregations