コード例 #1
0
 public function testDeletesUserById()
 {
     $userId = 8282;
     $command = new DeleteUserCommand($userId);
     $repo = new UserRepository();
     $repo->DeleteById($userId);
     $this->assertTrue($this->db->ContainsCommand($command));
 }