use of org.apache.geode.internal.admin.remote.ShutdownAllResponse in project geode by apache.
the class DataTypeJUnitTest method testDataSerializableFixedIDShort.
@Test
public void testDataSerializableFixedIDShort() throws IOException {
DataSerializableFixedID value = new ShutdownAllResponse();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
DataOutputStream out = new DataOutputStream(baos);
InternalDataSerializer.writeDSFID(value, out);
byte[] bytes = baos.toByteArray();
String type = DataType.getDataType(bytes);
assertEquals("org.apache.geode.internal.DataSerializableFixedID:" + ShutdownAllResponse.class.getName(), type);
}
Aggregations