public void Given_Type_Should_IsDataByteArray_ReturnValue() { var result = ContentTypeValidator.IsDataByteArray(1); result.Should().BeFalse(); result = ContentTypeValidator.IsDataByteArray(Encoding.UTF8.GetBytes("hello world")); result.Should().BeTrue(); }