Package com.tacitknowledge.flip.servlet.jsp

Examples of com.tacitknowledge.flip.servlet.jsp.BaseFlipTag


    @Before
    public void setUp()
    {
        featureService = mock(FeatureService.class);
        tag = new BaseFlipTag(FeatureState.DISABLED)
        {
            @Override
            protected FeatureService getFeatureService()
            {
                return featureService;
View Full Code Here


    }

    @Test
    public void testThrowFileExceptionWhenFeatureServiceNotSet() throws JspException
    {
        BaseFlipTag t = new BaseFlipTag(FeatureState.ENABLED)
        {
            @Override
            protected FeatureService getFeatureService()
            {
                return null;
            }
        };

        try
        {
            t.doStartTag();
            fail("Expected a FlipException to be thrown.");
        }
        catch (FlipException e)
        {
            // Expected
View Full Code Here

TOP

Related Classes of com.tacitknowledge.flip.servlet.jsp.BaseFlipTag

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.