@Test
public void preCreate()
{

    OptionSet optionSet = new OptionSet();
    optionSet.setUid( "jadhjSHdhs" );
    Option option = new Option();
    option.setOptionSet( optionSet );
    OptionSet persistedOptionSet = new OptionSet();
    persistedOptionSet.setUid( "jadhjSHdhs" );
    preheat.put( PreheatIdentifier.UID, persistedOptionSet );
    ObjectBundleParams objectBundleParams = new ObjectBundleParams();
    objectBundleParams.setPreheatIdentifier( PreheatIdentifier.UID );
    ObjectBundle bundle = new ObjectBundle( objectBundleParams, preheat, Collections.emptyMap() );
    hook.preCreate( option, bundle );
    Assert.assertEquals( 1, persistedOptionSet.getOptions().size() );
    Assert.assertSame( option, persistedOptionSet.getOptions().get( 0 ) );
}