Package br.com.caelum.vraptor.http

Examples of br.com.caelum.vraptor.http.UrlToResourceTranslator


  }

  @Test
  public void shoudSupportCustomImplementationsForAlreadyRegisteredComponents() {
    this.container.register(UrlToResourceTranslator.class, CustomTranslator.class);
    UrlToResourceTranslator translator = this.container.instanceFor(UrlToResourceTranslator.class);
    assertThat(translator, is(notNullValue()));
    assertThat(translator, is(instanceOf(CustomTranslator.class)));

  }
View Full Code Here

TOP

Related Classes of br.com.caelum.vraptor.http.UrlToResourceTranslator

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.