자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public function testDeletesUserById() { $userId = 8282; $command = new DeleteUserCommand($userId); $repo = new UserRepository(); $repo->DeleteById($userId); $this->assertTrue($this->db->ContainsCommand($command)); }