public void FormatValueToFilter_ByteArrayArray_ThrowsNotSupportedException()
        {
            //prepare
            var bytes           = new[] { new byte[] { 1, 2 }, new byte[] { 3, 4 } };
            var propertyMapping = new ByteArrayArrayPropertyMapping <ByteArrayArrayPropertyMappingTest>(_mappingArguments);

            //act
            Executing.This(() => propertyMapping.FormatValueToFilter(bytes)).Should()
            .Throw <NotSupportedException>();
        }
        public void FormatValueToFilter_ByteArray_ReturnsStringOctet()
        {
            //prepare
            var bytes           = new byte[] { 1, 2, 3, 4 };
            var propertyMapping = new ByteArrayArrayPropertyMapping <ByteArrayArrayPropertyMappingTest>(_mappingArguments);

            //act
            var value = propertyMapping.FormatValueToFilter(bytes);

            //assert
            value.Should().Be.EqualTo(bytes.ToStringOctet());
        }