Add verification to the Abstract Factory unit test.