This post originated from an RSS feed registered with Java Buzz
by josef betancourt.
Original Post: Use AOP Aspects as Mocks in JUnit tests?
Feed Title: T. C. Mits
Feed URL: http://octodecillion.com/feed/
Feed Description: Java development and other technology topics
This post illustrates a subtle relationship between Mock Objects and Aspect Oriented Programming. Some code examples are shown, and ends with questions for further research. This is a follow on to a prior “Using AspectJ For Testing Legacy Code“. Categories and Subject Descriptors D.2.2 [Software Engineering]: Design Tools and Techniques, Object-Oriented programming Keywords interceptors, AOP, [...]