/**
* @test
*/
public function buildAppendsSectionIfSectionIsSpecified()
{
$this->mockRouter->expects($this->once())->method('resolve')->will($this->returnValue('resolvedUri'));
$this->uriBuilder->setSection('SomeSection');
$expectedResult = 'resolvedUri#SomeSection';
$actualResult = $this->uriBuilder->build();
$this->assertEquals($expectedResult, $actualResult);
}