public function testDeletesUserById() { $userId = 8282; $command = new DeleteUserCommand($userId); $repo = new UserRepository(); $repo->DeleteById($userId); $this->assertTrue($this->db->ContainsCommand($command)); }