<commit_before>package edu.columbia.gemma.common.protocol;

import org.springframework.beans.factory.BeanFactory;

import edu.columbia.gemma.BaseServiceTestCase;
import edu.columbia.gemma.util.SpringContextUtil;

/**
 * <hr>
 * <p>
 * Copyright (c) 2004 - 2005 Columbia University
 * 
 * @author keshav
 * @version $Id$
 */
public class ProtocolServiceTest extends BaseServiceTestCase {
    BeanFactory ctx = SpringContextUtil.getApplicationContext();
    ProtocolDao protocolDao = null;

    protected void setUp() throws Exception {
        super.setUp();

        protocolDao = ( ProtocolDao ) ctx.getBean( "protocolDao" );

    }

    /**
     * TODO add test implementation details.
     */
    @SuppressWarnings("unused")
    public void testfindOrCreate() {
        Protocol protocol = protocolDao.findOrCreate( Protocol.Factory.newInstance() );

    }
    
    /**
     * TODO add test implementation details.
     *
     */
    @SuppressWarnings("unused")
    public void testFind(){
        Protocol protocol = protocolDao.find(Protocol.Factory.newInstance());
    }

}<commit_msg>removed SuppressWarnings("unused").  Try not to suppress the warnings as they are useful<commit_after>package edu.columbia.gemma.common.protocol;

import org.springframework.beans.factory.BeanFactory;

import edu.columbia.gemma.BaseServiceTestCase;
import edu.columbia.gemma.util.SpringContextUtil;

/**
 * <hr>
 * <p>
 * Copyright (c) 2004 - 2005 Columbia University
 * 
 * @author keshav
 * @version $Id$
 */
public class ProtocolServiceTest extends BaseServiceTestCase {
    BeanFactory ctx = SpringContextUtil.getApplicationContext();
    ProtocolDao protocolDao = null;

    protected void setUp() throws Exception {
        super.setUp();

        protocolDao = ( ProtocolDao ) ctx.getBean( "protocolDao" );

    }

    /**
     * TODO add test implementation details.
     */
    public void testfindOrCreate() {
        protocolDao.findOrCreate( Protocol.Factory.newInstance() );

    }
    
    /**
     * TODO add test implementation details.
     *
     */
    public void testFind(){
        protocolDao.find(Protocol.Factory.newInstance());
    }

}
{'fraction_non_alphanumeric': 0.10915002322340919, 'fraction_numerical': 0.0074314909428704135, 'mean_word_length': 3.20703125, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6021688', 'n_tokens_mistral': 628, 'n_tokens_neox': 619, 'n_words': 137}