@Test(dataProvider = "getAnyFields")
public void shouldDeclareOutputFields(Item field1, Item field2) {

  PageViewBolt bolt = new PageViewBolt(field1, field2);
  OutputFieldsDeclarer declarer = mock(OutputFieldsDeclarer.class);
  bolt.declareOutputFields(declarer);
  verify(declarer, times(1)).declare(any(Fields.class));
}