Exemplo n.º 1
0
 public function mark_deleted($id)
 {
     $oauthToken = new OAuthToken();
     //execute the method
     $oauthToken->mark_deleted($id);
     //verify that record can not be loaded anymore
     $token = OAuthToken::load($id);
     $this->assertEquals(null, $token->id);
 }