Submit the condition_node_type_test_form to test condition forms.
function testConfigForm() {
$article = entity_create('node', array(
'type' => 'article',
'title' => $this
->randomName(),
));
$article
->save();
$this
->drupalGet('condition_test');
$this
->assertField('bundles[article]', 'There is an article bundle selector.');
$this
->assertField('bundles[page]', 'There is a page bundle selector.');
$this
->drupalPost(NULL, array(
'bundles[page]' => 'page',
'bundles[article]' => 'article',
), t('Submit'));
$this
->assertText('The bundles are article and page', 'The form component appropriately saved the bundles.');
$this
->assertText('Executed successfully.', 'The form configured condition executed properly.');
}