From 577755d5801a33f5cd4def52f7e81fc9b1e76240 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Wed, 20 Oct 2010 05:51:51 +0000 Subject: [PATCH] polishing --- .../AnnotationDrivenStaticEntityMockingControl.aj | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/org.springframework.aspects/src/main/java/org/springframework/mock/staticmock/AnnotationDrivenStaticEntityMockingControl.aj b/org.springframework.aspects/src/main/java/org/springframework/mock/staticmock/AnnotationDrivenStaticEntityMockingControl.aj index cf36ecc2cb..296a197316 100644 --- a/org.springframework.aspects/src/main/java/org/springframework/mock/staticmock/AnnotationDrivenStaticEntityMockingControl.aj +++ b/org.springframework.aspects/src/main/java/org/springframework/mock/staticmock/AnnotationDrivenStaticEntityMockingControl.aj @@ -18,15 +18,16 @@ package org.springframework.mock.staticmock; /** * Annotation-based aspect to use in test build to enable mocking static methods - * on Entity classes, as used by Roo for finders. - *
- * Mocking will occur in the call stack of any method in a class (typically a test class) + * on JPA-annotated @Entity classes, as used by Roo for finders. + * + *

Mocking will occur in the call stack of any method in a class (typically a test class) * that is annotated with the @MockStaticEntityMethods annotation. - *
- * Also provides static methods to simplify the programming model for + * + *

Also provides static methods to simplify the programming model for * entering playback mode and setting expected return values. - *
- * Usage:

    + * + *

    Usage: + *

      *
    1. Annotate a test class with @MockStaticEntityMethods. *
    2. In each test method, AnnotationDrivenStaticEntityMockingControl will begin in recording mode. * Invoke static methods on Entity classes, with each recording-mode invocation