added stubbing spec.
added mocking spec.