a little less of the non-mockito style