/** * @test * @expectedException Silk\User\Exception\UserNotFoundException */ public function it_blows_up_if_no_user_is_found_with_the_given_username() { User::fromUsername('non-existent-username'); }