     }
 
     func testSelectOneSocket() {
-        let selector = SelectSelector()
+        let selector = try! SelectSelector()
 
         let port = try! getUnusedTCPPort()
         let listenSocket = try! TCPSocket()

    }

    func testUnregisterKeyError() {
        let selector = SelectSelector()
        let socket = try! TCPSocket()

        XCTAssertThrowsError(try selector.unregister(socket.fileDescriptor)) { error in

    }

    func testRegisterKeyError() {
        let selector = try! SelectSelector()
        let socket = try! TCPSocket()
        try! selector.register(socket.fileDescriptor, events: [.read], data: nil)

