public void Deserialize_WhenPassedWithUsePropertyUnderNAme_DeserializesToSlotResponse() { var sut = new SlotResponseDeserializer(); var result = sut.Deserialize(_files[2]); result.Should().NotBeNull(); result.resourceType.Should().BeEquivalentTo("Bundle"); }
public void Deserialize_WhenNoSlotsReturned_DeserializesToSlotResponse() { var sut = new SlotResponseDeserializer(); var result = sut.Deserialize(_files[3]); result.Should().NotBeNull(); result.resourceType.Should().BeEquivalentTo("Bundle"); }
public void Deserialize_WhenPassedWithAnotherValidJson_DeserializesToSlotResponse() { var sut = new SlotResponseDeserializer(); var result = sut.Deserialize(_files[1]); result.Should().NotBeNull(); result.resourceType.Should().BeEquivalentTo("Bundle"); }