@@ -0,0 +1,1672 @@
+/*%0A * The Gemma project%0A * %0A * Copyright (c) 2006 Columbia University%0A * %0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *       http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A *%0A */%0Apackage ubic.gemma.model.expression.arrayDesign;%0A%0Aimport java.util.Collection;%0A%0Aimport ubic.gemma.model.expression.designElement.CompositeSequence;%0Aimport ubic.gemma.model.expression.designElement.CompositeSequenceService;%0Aimport ubic.gemma.testing.BaseSpringContextTest;%0A%0A/**%0A * Tests the CompositeSequenceService.%0A * %0A * @author keshav%0A * @version $Id$%0A */%0Apublic class CompositeSequenceServiceImplTest extends BaseSpringContextTest %7B%0A%0A    CompositeSequenceService compositeSequenceService = null;%0A    CompositeSequence cs = null;%0A%0A    /**%0A     * Asserts the true if getAssociatedGenes returns null when there are no composite sequences associated with this%0A     * gene.%0A     */%0A    public void testHandleGetAssociatedGenes() %7B// TODO add mocks%0A        compositeSequenceService = ( CompositeSequenceService ) this.getBean( %22compositeSequenceService%22 );%0A%0A        cs = CompositeSequence.Factory.newInstance();%0A        Collection genes = compositeSequenceService.getAssociatedGenes( cs );%0A%0A        assertTrue( genes == null );%0A    %7D%0A%7D%0A

test for CompositeSequenceService