def test_using_firefox(self, mocked_firefox): """Creates new Firefox driver instance""" BrowseTheWeb.using_firefox() mocked_firefox.assert_called_once()
def setUp(self): self.actor = AnActor.named("Perry").who_can(BrowseTheWeb.using_firefox())