예제 #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test void shouldHandleBooleans()
        internal virtual void ShouldHandleBooleans()
        {
            // Given
            Value         array   = Values.booleanArray(new bool[] { true, false, true });
            PrettyPrinter printer = new PrettyPrinter();

            // When
            array.WriteTo(printer);

            // Then
            assertThat(printer.Value(), equalTo("[true, false, true]"));
        }