Package org.jboss.dna.graph.property.basic

Examples of org.jboss.dna.graph.property.basic.BasicName


        assertThat(request.getError(), is(nullValue()));
    }

    @Test
    public void shouldCreateValidRequestWithValidFromLocationAndValidToLocationAndValidBeforeLocation() {
        Name newName = new BasicName("", "newName");
        request = new MoveBranchRequest(validPathLocation1, validPathLocation2, validPathLocation, workspace1, newName, NodeConflictBehavior.DO_NOT_REPLACE);
        assertThat(request.from(), is(sameInstance(validPathLocation1)));
        assertThat(request.into(), is(sameInstance(validPathLocation2)));
        assertThat(request.before(), is(sameInstance(validPathLocation)));
        assertThat(request.inWorkspace(), is(sameInstance(workspace1)));
View Full Code Here

TOP

Related Classes of org.jboss.dna.graph.property.basic.BasicName

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.