@Test
public void shouldDeclareOutputFields() {

  PageViewSpout spout = new PageViewSpout(false, generator);
  spout.declareOutputFields(declarer);
  verify(declarer, times(1)).declare(any(Fields.class));
}