private Cache createCache() throws CacheException {
  final Properties props=new Properties();
  props.setProperty(LOCATORS,"");
  props.setProperty(MCAST_PORT,"0");
  return CacheFactory.create(DistributedSystem.connect(props));
}

private Cache createCache ( ) throws CacheException { final Properties props = new Properties ( ) ; props . setProperty ( LOCATORS , "" ) ; props . setProperty ( MCAST_PORT , "0" ) ; return CacheFactory . create ( DistributedSystem . connect ( props ) ) ; }
creates the cache instance for the test
