Ejemplo n.º 1
0
// Flush has no effect at the moment, so nothing to test.
TEST(OutStream, Flush)
{
	OutStream out;
	LessonMock* p = new LessonMock();
	p->expect("A B C 4 5");
	LessonInterface l(p);
	out.set_interface(l);
	out << "A B C " << 4 << ' ' << 5;
	out.flush();
}