public function testCreatePairInvalid() { try { $this->factory->createPair(0, 1, 2); } catch (Exception $e) { return; } $this->fail(); }