Package br.com.caelum.vraptor.interceptor

Examples of br.com.caelum.vraptor.interceptor.InterceptorRegistry


    });
 
 
  @Test
  public void shoudRegisterInterceptorsInInterceptorRegistry() {
    InterceptorRegistry registry = getFromContainer(InterceptorRegistry.class);
    assertThat(registry.all(), hasOneCopyOf(InterceptorInTheClasspath.class));
 
View Full Code Here


    assertThat(converter, is(instanceOf(DummyConverter.class)));
  }

  @Test
  public void shoudRegisterInterceptorsInInterceptorRegistry() {
    InterceptorRegistry registry = container.instanceFor(InterceptorRegistry.class);
    assertThat(registry.all(), hasItem(DummyInterceptor.class));
  }
View Full Code Here

    }
  }

  @Test
  public void shoudRegisterInterceptorsInInterceptorRegistry() {
    InterceptorRegistry registry = instanceFor(InterceptorRegistry.class);
    assertThat(registry.all(), hasOneCopyOf(InterceptorInTheClasspath.class));
  }
View Full Code Here

TOP

Related Classes of br.com.caelum.vraptor.interceptor.InterceptorRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.