Package javax.inject

Examples of javax.inject.Singleton


public class TemplateEngineFreemarkerTest {

    @Test
    public void testThatTemplateEngineFreemarkerHasSingletonAnnotation() {

        Singleton singleton = TemplateEngineFreemarker.class.getAnnotation(Singleton.class);

        Assert.assertThat(singleton, CoreMatchers.notNullValue());

    }
View Full Code Here

TOP

Related Classes of javax.inject.Singleton

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.