public void StatusIsSuccess(JSuccessWithDataResponse<int> response) { // Exercise system and verify outcome response.Status.Should().Be(JSendStatus.Success); }
public void GetDataOrDefault_WithDefaultValue_ReturnsData_WhenDataIsProvided(JSuccessWithDataResponse <Model> response) { // Exercise system and verify outcome response.GetDataOrDefault(null).Should().Be(response.Data); }
public void HasData(JSuccessWithDataResponse<int> response) { // Exercise system and verify outcome response.HasData.Should().BeTrue(); }
public void ErrorIsNull(JSuccessWithDataResponse<int> response) { // Exercise system and verify outcome response.Error.Should().BeNull(); }
public void StatusIsSuccess(JSuccessWithDataResponse <int> response) { // Exercise system and verify outcome response.Status.Should().Be(JSendStatus.Success); }
public void HasData(JSuccessWithDataResponse <int> response) { // Exercise system and verify outcome response.HasData.Should().BeTrue(); }
public void ErrorIsNull(JSuccessWithDataResponse <int> response) { // Exercise system and verify outcome response.Error.Should().BeNull(); }