public void CanHandle_WhenParametersNull_ExpectException() { // Arrange // Act var target = new BlobJsonRequestBuilder(); target.CanHandle(null); // Assert }
public void CanHandle_WhenParametersMethodTypeIsGuassian_ShouldReturnTrue() { // Arrange Mock<IParameters> parameters = new Mock<IParameters>(); parameters.Setup(m => m.MethodType).Returns(MethodType.Blob); // Act var target = new BlobJsonRequestBuilder(); var actual = target.CanHandle(parameters.Object); // Assert actual.Should().Be.True(); }