* tests error when context not found
*/
@Test
public void testContextNotFound()
{
SpringContextLocatorMock ctxLocator = new SpringContextLocatorMock(null);
SpringBeanLocator locator = new SpringBeanLocator(Bean.class, ctxLocator);
try
{
locator.locateProxyTarget();
}