### Question:
ReadAllPropertiesRequest extends CacheableRequest implements Iterable<Property> { public Location at() { return at; } ReadAllPropertiesRequest( Location at,
                                     String workspaceName ); @Override boolean isReadOnly(); Location at(); String inWorkspace(); Map<Name, Property> getPropertiesByName(); Collection<Property> getProperties(); Iterator<Property> iterator(); Property addProperty( Property property ); void addProperties( Property... properties ); void addProperties( Iterable<Property> properties ); int getNumberOfChildren(); void setNumberOfChildren( int numberOfChildren ); void setActualLocationOfNode( Location actual ); Location getActualLocationOfNode(); @Override void cancel(); @Override int hashCode(); @Override boolean equals( Object obj ); @Override String toString(); @Override RequestType getType(); static final int UNKNOWN_NUMBER_OF_CHILDREN; }### Answer:
@Test public void shouldCreateValidRequestWithValidLocation() { request = new ReadAllPropertiesRequest(validPathLocation1, workspace1); assertThat(request.at(), is(sameInstance(validPathLocation1))); assertThat(request.hasError(), is(false)); assertThat(request.getError(), is(nullValue())); }