def SeleniumDrivenUserShouldThrowAnExceptionWhenTheMethodIsUnkownToBothActionsAndExpectations(self):
    
     try:
         bob = SeleniumDrivenUser(self.mockedContext)
         bob.unknownMethodCall()
         self.fail("unknownMethodCall should of raised an exception")
     except Exception, instance:
         pass
  def SeleniumDrivenUserShouldCallAppropriateActionMethodInExpectationWhenCalledWithAnAction(self):
 
          mockedGoesToURL = Mock()
          SeleniumDrivenUserActions.goesTo = mockedGoesToURL
          
          bob = SeleniumDrivenUser(self.mockedContext)
          bob.goesTo("http://www.google.ca")
  
          self.assertTrue( mockedGoesToURL.called)