Package com.volantis.mcs.context

Examples of com.volantis.mcs.context.MarinerRequestContextMock


    public void testAnchorElementCallsProtocol() throws Exception {

        String elementName = "a";

        MarinerRequestContextMock requestMock = setupMocks(elementName, true);
        setupEnvironment(requestMock);

        protocolMock.fuzzy.writeOpenAnchor(
                mockFactory.expectsInstanceOf(AnchorAttributes.class));
        protocolMock.fuzzy.writeCloseAnchor(
View Full Code Here


    public void testBlockQuoteElementCallsProtocol() throws Exception {

        String elementName = "blockquote";

        MarinerRequestContextMock requestMock = setupMocks(elementName, true);
        setupEnvironment(requestMock);

        protocolMock.fuzzy.writeOpenBlockQuote(
                mockFactory.expectsInstanceOf(BlockQuoteAttributes.class));
        protocolMock.fuzzy.writeCloseBlockQuote(
View Full Code Here

    public void testCaptionElementCallsProtocol() throws Exception {

        String elementName = "caption";

        MarinerRequestContextMock requestMock = setupMocks(elementName, true);
        setupEnvironment(requestMock);

        protocolMock.fuzzy.writeOpenTableCaption(
                mockFactory.expectsInstanceOf(CaptionAttributes.class));
        protocolMock.fuzzy.writeCloseTableCaption(
View Full Code Here

    public void testCiteElementCallsProtocol() throws Exception {

        String elementName = "cite";

        MarinerRequestContextMock requestMock = setupMocks(elementName, true);
        setupEnvironment(requestMock);

        protocolMock.fuzzy.writeOpenCite(
                mockFactory.expectsInstanceOf(CiteAttributes.class));
        protocolMock.fuzzy.writeCloseCite(
View Full Code Here

    public void testCodeElementCallsProtocol() throws Exception {

        String elementName = "code";

        MarinerRequestContextMock requestMock = setupMocks(elementName, true);
        setupEnvironment(requestMock);

        protocolMock.fuzzy.writeOpenCode(
                mockFactory.expectsInstanceOf(CodeAttributes.class));
        protocolMock.fuzzy.writeCloseCode(
View Full Code Here

    public void testDefDataElementCallsProtocol() throws Exception {

        String elementName = "dd";

        MarinerRequestContextMock requestMock = setupMocks(elementName, true);
        setupEnvironment(requestMock);

        protocolMock.fuzzy.writeOpenDefinitionData(
                mockFactory.expectsInstanceOf(DefinitionDataAttributes.class));
        protocolMock.fuzzy.writeCloseDefinitionData(
View Full Code Here

    public void testDefinitionElementCallsProtocol() throws Exception {

        String elementName = "dfn";

        MarinerRequestContextMock requestMock = setupMocks(elementName, true);
        setupEnvironment(requestMock);

        protocolMock.fuzzy.writeOpenSpan(
                mockFactory.expectsInstanceOf(SpanAttributes.class));
        protocolMock.fuzzy.writeCloseSpan(
View Full Code Here

    public void testDefListElementCallsProtocol()
            throws Exception {

        String elementName = "dl";

        MarinerRequestContextMock requestMock = setupMocks(elementName, true);
        setupEnvironment(requestMock);

        protocolMock.fuzzy.writeOpenDefinitionList(
                mockFactory.expectsInstanceOf(DefinitionListAttributes.class));
        protocolMock.fuzzy.writeCloseDefinitionList(
View Full Code Here

    public void testDefTermElementCallsProtocol() throws Exception {

        String elementName = "dt";

        MarinerRequestContextMock requestMock = setupMocks(elementName, true);
        setupEnvironment(requestMock);

        protocolMock.fuzzy.writeOpenDefinitionTerm(
                mockFactory.expectsInstanceOf(DefinitionTermAttributes.class));
        protocolMock.fuzzy.writeCloseDefinitionTerm(
View Full Code Here

    public void testDivElementCallsProtocol() throws Exception {

        String elementName = "div";

        MarinerRequestContextMock requestMock = setupMocks(elementName, true);
        setupEnvironment(requestMock);

        protocolMock.fuzzy.writeOpenDiv(
                mockFactory.expectsInstanceOf(DivAttributes.class));
        protocolMock.fuzzy.writeCloseDiv(
View Full Code Here

TOP

Related Classes of com.volantis.mcs.context.MarinerRequestContextMock

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.