Polygenix AgileTest is a best of breed mock object implementation for unit testing both Java interfaces and classes, combined with a unique object substitution technology enabling the programmer to test every corner of their code. AgileTest works at the bytecode level, enabling non-intrusive dynamic mock generation - without the generation of additional source artefacts or the constraints of the Java proxy mechanism. AgileTest does not require access to source code, which means that even third-party objects can be mocked. The object substitution technology in AgileTest allows mocks to be inserted at any point in the class under test. This allows complex, non-parameterized collaborations (such as static factory calls) to be tested with mocks.