test_class.file: everrest-core/src/test/java/org/everrest/core/SingletonObjectFactoryTest.java
test_class.identifier: SingletonObjectFactoryTest
test_case.body: @Test
      public void returnsInstanceGivenInCreationOfObjectFactory() {
          Object instance = new Object();
          ObjectModel objectModel = mock(ObjectModel.class);
          SingletonObjectFactory singletonObjectFactory = new SingletonObjectFactory<>(objectModel, instance);
  
          Object result = singletonObjectFactory.getInstance(null);
          assertSame(instance, result);
      }
test_case.class_method_signature: SingletonObjectFactoryTest.returnsInstanceGivenInCreationOfObjectFactory()
test_case.full_signature: @Test public void returnsInstanceGivenInCreationOfObjectFactory()
test_case.identifier: returnsInstanceGivenInCreationOfObjectFactory
test_case.invocations: mock getInstance assertSame
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void returnsInstanceGivenInCreationOfObjectFactory()
focal_class.declarator: model
focal_class.modifier: protected final
focal_class.original_string: protected final T model;
focal_class.type: T
focal_class.var_name: model
focal_class.declarator: object
focal_class.modifier: protected final
focal_class.original_string: protected final Object object;
focal_class.type: Object
focal_class.var_name: object
focal_class.file: everrest-core/src/main/java/org/everrest/core/SingletonObjectFactory.java
focal_class.identifier: SingletonObjectFactory
focal_class.interfaces: implements ObjectFactory<T>
focal_class.class_method_signature: SingletonObjectFactory.SingletonObjectFactory(T model, Object object)
focal_class.full_signature: public  SingletonObjectFactory(T model, Object object)
focal_class.identifier: SingletonObjectFactory
focal_class.modifiers: public
focal_class.parameters: (T model, Object object)
focal_class.signature:  SingletonObjectFactory(T model, Object object)
focal_class.class_method_signature: SingletonObjectFactory.getInstance(ApplicationContext context)
focal_class.full_signature: @Override public Object getInstance(ApplicationContext context)
focal_class.identifier: getInstance
focal_class.modifiers: @Override public
focal_class.parameters: (ApplicationContext context)
focal_class.return: Object
focal_class.signature: Object getInstance(ApplicationContext context)
focal_class.class_method_signature: SingletonObjectFactory.getInstance()
focal_class.full_signature: public Object getInstance()
focal_class.identifier: getInstance
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object getInstance()
focal_class.class_method_signature: SingletonObjectFactory.getObjectModel()
focal_class.full_signature: @Override public T getObjectModel()
focal_class.identifier: getObjectModel
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: T
focal_class.signature: T getObjectModel()
focal_method.body: @Override
      public Object getInstance(ApplicationContext context) {
          return getInstance();
      }
focal_method.class_method_signature: SingletonObjectFactory.getInstance(ApplicationContext context)
focal_method.full_signature: @Override public Object getInstance(ApplicationContext context)
focal_method.identifier: getInstance
focal_method.invocations: getInstance
focal_method.modifiers: @Override public
focal_method.parameters: (ApplicationContext context)
focal_method.return: Object
focal_method.signature: Object getInstance(ApplicationContext context)