module UnitTests
module ModelCreators
class << self
def register(name, klass)
registrations[name] = klass
end
def retrieve(name)
registrations[name]
private
def registrations
@_registrations ||= {}