         let peerID1 = Peer()
         do {
             let peerID2 = try Peer(uuidIdentifier: peerID1.uuid,
-                                         generation: peerID1.generation + 1)
+                                   generation: peerID1.generation + 1)
             XCTAssertNotEqual(peerID1, peerID2)
         } catch let error {
             XCTFail("unexpected error \(error)")


class PeerTests: XCTestCase {

    func testGenetationByNextGenerationCallShouldHaveSameUUIDPart() {
        let peer = Peer()
        let nextGenPeer = peer.nextGenerationPeer()
        XCTAssertEqual(peer.uuid, nextGenPeer.uuid)

        XCTAssertEqual(peer.generation + 1, nextGenPeer.generation)
    }

    func testStringValueHasCorrectForm() {
        for i in 0...0xF {
            let uuid = NSUUID().UUIDString
            let string = "\(uuid):\(String(i, radix: 16))"
