def test_should_return_the_correct_integer(self):
        """ Should return the correct Integer from tcp flags """

        tcp_flags = TCPControlBits(['SYN', 'ACK'])
        assert_equal(tcp_flags.to_int(), 18)
    def test_should_return_the_correct_integer(self):
        """ Should return the correct Integer from tcp flags """

        tcp_flags = TCPControlBits(['SYN', 'ACK'])
        assert_equal(tcp_flags.to_int(), 18)
    def test_should_return_a_integer(self):
        """ Should return an int from the informed tcp flags """

        tcp_flags = TCPControlBits(['SYN', 'ACK'])
        assert_is_instance(tcp_flags.to_int(), int)
    def test_should_return_a_integer(self):
        """ Should return an int from the informed tcp flags """

        tcp_flags = TCPControlBits(['SYN', 'ACK'])
        assert_is_instance(tcp_flags.to_int(), int)