vl4dimir/ObjectiveMixin — pull request #4 by dingbat (2012-04-29 15:34:37+00:00)
Title: Tests + doc for 'force' option

By the way, I should say that testing can get tricky since just doing a Mixin once will affect the rest of the runtime, so the latter methods actually aren't testing much. For instance, in `testNSObjectCategory`:

```objc
- (void) testNSObjectCategory {
DestinationClass* dest = [[[DestinationClass alloc] init] autorelease];
// [dest mixinFrom:[SourceClass class]];

[(id)dest helloWorld];
}
```

You can comment out the the third line and it'll still work since the classes have already been mixed in in previous tests.

I'm not sure how to solve this without making separate classes per test case. Or, writing a method to remove the effects of a mixin, but I can't see how that could be useful in normal use. Regardless, it's not a huge deal, just kind of cute. :)