

package gov.va.med.cds.client.functional.mbean;


import gov.va.med.cds.junit.runners.SuiteAwareSpringRunner;
import gov.va.med.cds.junit.runners.Suite;
import gov.va.med.cds.testharness.AbstractBaseTest;

import javax.annotation.Resource;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;


@RunWith( SuiteAwareSpringRunner.class )
@ContextConfiguration( locations = { "classpath:gov/va/med/cds/client/functional/mbean/mBeanContext.xml" } )
public class UpdateResponseValidatorFlagTest
    extends
        AbstractBaseTest
{
    private static Log logger = null;
    
    //injected by Spring
    private CustomMBeanUtil customMBeanUtil;


    @Test
    @Suite( groups = "prototypetest" )
    public void testVerifyValidationXmlOnNode1( )
        throws Exception
    {
        customMBeanUtil.readMBeanAttributes();
    }


    @BeforeClass
    static public void beforeUpdateResponseValidatorFlagTestClassSetUp( )
        throws Exception
    {

        logger = LogFactory.getLog( UpdateResponseValidatorFlagTest.class );

    }

    @AfterClass
    static public void afterUpdateResponseValidatorFlagTestClassSetUp( )
        throws Exception
    {

        logger = null;

    }

    @Resource
    public void setCustomMBeanUtil( CustomMBeanUtil customMBeanUtil )
    {
        this.customMBeanUtil = customMBeanUtil;
    }

}
