public function case_constructor_with_flag_and_udp() { $this->given($socket = 'udp://hoa-project.net:80', $timeout = 42, $flag = SUT::BIND)->when($result = new SUT($socket, $timeout, $flag))->then->let($_socket = $result->getSocket())->string($_socket->getTransport())->isEqualTo('udp')->integer($result->getFlag())->isEqualTo($flag); }