public function testDenyInvite()
{
/*
|------------------------------------------------------------
| Set
|------------------------------------------------------------
*/
$app = m::mock('App');
$teamwork = new Teamwork($app);
$token = "asd";
$teaminvite = m::mock('Mpociot\\Teamwork\\TeamInvite');
/*
|------------------------------------------------------------
| Expectation
|------------------------------------------------------------
*/
$teaminvite->shouldReceive('delete')->once()->andReturn(true);
$teamwork->denyInvite($teaminvite);
}