public function testLoadAccountKeyPair() { $keyPair = new KeyPair(new PublicKey("public\n"), new PrivateKey("private\n")); $this->assertFalse($this->repository->hasAccountKeyPair()); $this->repository->storeAccountKeyPair($keyPair); $this->assertTrue($this->repository->hasAccountKeyPair()); $this->assertEquals($keyPair, $this->repository->loadAccountKeyPair()); }