@Test
public void checkStoreLicense(){

    final RepositoryHandler repositoryHandler = mock(RepositoryHandler.class);
    final LicenseHandler handler = new LicenseHandler(repositoryHandler);
    final DbLicense dbLicense = new DbLicense();
    handler.store(dbLicense);
    verify(repositoryHandler, times(1)).store(dbLicense);
}