    @Test
    public void testBasicDeclarationWithCall()
        throws PluginMetadataParseException
    {

        File metadataFile = getMetadataFile( "test2.mojos.xml" );
        Set<MojoDescriptor> descriptors = new PluginMetadataParser().parseMojoDescriptors( metadataFile );
        
        assertEquals( 1, descriptors.size() );
        
        MojoDescriptor desc = descriptors.iterator().next();
        assertTrue( desc.getImplementation().endsWith( ":test2" ) );
        assertEquals( "test2", desc.getGoal() );
    }