func (suite *ReleaseStoreLibrarySuite) SetUpTest(c *check.C) {
	suite.descriptors = objprop.StandardProperties()
	suite.nullObjpropProvider = objprop.NullProvider(suite.descriptors)

	suite.source = release.NewMemoryRelease()
	suite.sink = release.NewMemoryRelease()
	suite.library = NewReleaseStoreLibrary(suite.source, suite.sink, 0)
}
// ObjpropStore implements the StoreLibrary interface.
func (library *ReleaseStoreLibrary) ObjpropStore(name string) (objpropStore objprop.Store, err error) {
	objpropStore, exists := library.objpropStores[name]

	if !exists {
		if library.sink.HasResource(name) {
			objpropStore, err = library.openObjpropStoreFrom(library.sink, name)
		} else if library.source.HasResource(name) {
			objpropStore, err = library.openObjpropStoreFrom(library.source, name)
		} else {
			objpropStore = library.createSavingObjpropStore(objprop.NullProvider(library.descriptors), "", name, func() {})
		}
		if err == nil {
			library.objpropStores[name] = objpropStore
		}
	}

	return
}