  @Test(expected = IllegalArgumentException.class) public void shouldNotAcceptNullValues()
      throws Exception {

    RosieRepository<?, ?> repository = givenAWriteableAndCacheRepository();

    repository.addOrUpdate(null);
  }