mil.dod.th.ose.core/test/mil/dod/th/ose/core/impl/validator/TestValidatorImpl.java
@Test
    public void testValidate() throws ValidationFailedException, MalformedURLException, SAXException
    {
        final TestClass data = new TestClass();
        
        m_SUT.validate(data);
        verify(m_Bundle).getResource("schemas/ose/core/impl/validator/TestClass.xsd");
        
        verify(m_SchemaFactory).newSchema(new URL("file:schema.xsd"));
    }
/**
     * Test the validate method. Make sure the correct schema is used based on the type being validated.
     */
Test the validate method. Make sure the correct schema is used based on the type being validated.
Test the validate method . Make sure the correct schema is used based on the type being validated .
@Test
    public void testValidate() throws ValidationFailedException, MalformedURLException, SAXException
    {
        final TestClass data = new TestClass();
        m_SUT.validate(data);
        verify(m_Bundle).getResource("schemas/ose/core/impl/validator/TestClass.xsd");
        verify(m_SchemaFactory).newSchema(new URL("file:schema.xsd"));
    }
@ Test public void testValidate ( ) throws ValidationFailedException , MalformedURLException , SAXException { final TestClass data = new TestClass ( ) ; m_SUT . validate ( data ) ; verify ( m_Bundle ) . getResource ( "schemas/ose/core/impl/validator/TestClass.xsd" ) ; verify ( m_SchemaFactory ) . newSchema ( new URL ( "file:schema.xsd" ) ) ; }
Test the validate method.
Test the validate method .