public static RelativeLocation locatedAt(String url) {
RelativeLocation location = mock(RelativeLocation.class);
when(location.url()).thenReturn(url);
return location;
}
<BUG>public static BuildAugmentor augmentedWith(Class<? extends Augmentation>... augmentationsToSupport) {
</BUG>
BuildAugmentor augmentor = new BuildAugmentor();
for (Class<? extends Augmentation> augmentation : augmentationsToSupport) {
augmentor.support(augmentation);

public static RelativeLocation locatedAt(String url) {
RelativeLocation location = mock(RelativeLocation.class);
when(location.url()).thenReturn(url);
return location;
}
public static BuildAugmentor with(Class<? extends Augmentation>... augmentationsToSupport) {
BuildAugmentor augmentor = new BuildAugmentor();
for (Class<? extends Augmentation> augmentation : augmentationsToSupport) {
augmentor.support(augmentation);
