public async Task AsArray(string contentA, string contentB) { // arrange Model <string>[] expected = { new Model <string>(contentA), new Model <string>(contentB) }; IResponse response = this.ConstructResponse(expected); // act Model <string>[] actual = await response .AsArray <Model <string> >() .VerifyTaskResultAsync(); // assert Assert.That(actual, Is.EquivalentTo(expected)); }