org.springframework.config.java.test
Class Assert
java.lang.Object
org.springframework.config.java.test.Assert
public class Assert
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Assert
public Assert()
assertBeanDefinitionCount
public static void assertBeanDefinitionCount(ConfigurableApplicationContext ctx,
int expected)
- Validates the number of beans registered with ctx matches
expected. Makes a special exception, however for the special
BeanPostProcessor registered for clearing out the
org.springframework.config.java.aspects.RequiredMethodInvocationTracker.RequiredAnnotationMethodInvocationMonitor
aspect
- Parameters:
ctx
- context to interrogateexpected
- expected number of beans
Copyright ? 2005-2008 Spring Framework. All Rights Reserved.