Coverage Report - org.mule.tck.testmodels.fruit.FloridaSunnyOrangeFactoryBean
 
Classes in this File Line Coverage Branch Coverage Complexity
FloridaSunnyOrangeFactoryBean
0%
0/12
N/A
1
 
 1  
 /*
 2  
  * $Id: FloridaSunnyOrangeFactoryBean.java 19191 2010-08-25 21:05:23Z tcarlson $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 5  
  *
 6  
  * The software in this package is published under the terms of the CPAL v1.0
 7  
  * license, a copy of which has been included with this distribution in the
 8  
  * LICENSE.txt file.
 9  
  */
 10  
 
 11  
 package org.mule.tck.testmodels.fruit;
 12  
 
 13  
 import org.springframework.beans.factory.FactoryBean;
 14  
 
 15  
 /**
 16  
  * A Spring FactoryBean implementation for unit testing.
 17  
  */
 18  0
 public class FloridaSunnyOrangeFactoryBean implements FactoryBean
 19  
 {
 20  0
     Integer segments = new Integer(10);
 21  0
     Double radius = new Double(4.34);
 22  
     
 23  
     public Object getObject() throws Exception
 24  
     {
 25  0
         return new Orange(segments, radius, "Florida Sunny");
 26  
     }
 27  
 
 28  
     public Class getObjectType()
 29  
     {
 30  0
         return Orange.class;
 31  
     }
 32  
 
 33  
     public boolean isSingleton()
 34  
     {
 35  0
         return false;
 36  
     }
 37  
 
 38  
     public Double getRadius()
 39  
     {
 40  0
         return radius;
 41  
     }
 42  
 
 43  
     public void setRadius(Double radius)
 44  
     {
 45  0
         this.radius = radius;
 46  0
     }
 47  
 
 48  
     public Integer getSegments()
 49  
     {
 50  0
         return segments;
 51  
     }
 52  
 
 53  
     public void setSegments(Integer segments)
 54  
     {
 55  0
         this.segments = segments;
 56  0
     }
 57  
 }