public function printResultsLine()
{
print $this->newline;
$assertions = 0;
foreach ($this->tests as $test) {
$assertions += count($test->getAssertions());
if ($test->isSuccessful()) {
print '.';
} else {
print 'F';
}
}
print $this->newline;
print PHP_EOL . count($this->tests) . ' tests, ' . $assertions . ' assertions';
}