public void GetPetByIdWithByteArrayTest() { // TODO: add unit test for the method 'GetPetByIdWithByteArray' long?petId = null; // TODO: replace null with proper value var response = instance.GetPetByIdWithByteArray(petId); Assert.IsInstanceOf <byte[]> (response, "response is byte[]"); }
public void TestGetPetByIdWithByteArray() { // set timeout to 10 seconds Configuration c1 = new Configuration(timeout: 10000); PetApi petApi = new PetApi(c1); byte[] response = petApi.GetPetByIdWithByteArray(petId); Assert.IsInstanceOf <byte[]> (response, "Response is byte array"); }