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)));