I am seeing an exception when mocking an object that is already under KVO observation. Here is a simplified example that shows the problem:
[sourceObject addObserver:destinationObject forKeyPath:@"stringProperty" options:NSKeyValueObservingOptionNew context:nil];
[OCMockObject partialMockForObject:sourceObject];
[sourceObject removeObserver:destinationObject forKeyPath:@"stringProperty"];
When calling "-removeObserver:forKeyPath:" I get an exception that I am not currently observing the object. If I call "-stopMocking" on the mock before calling "-removeObserver:forKeyPath:" everything works fine.