TEST (test_case, your_test)
{
	TextDocument *text = new TextDocument();
	ASSERT_TRUE(text->GetGraphic() == NULL);
	text->Insert(new ImageProxy("virtual_proxy_pattern.cpp"));

	Graphic *graph = text->GetGraphic();//image object is not yet instantiated
	ASSERT_TRUE(graph != NULL);
	ASSERT_TRUE(graph->GetExtent() == Point(0, 0));
	Point pt(10, 5);
	graph->Draw(pt);
	Point pt2 = graph->GetExtent();
	ASSERT_TRUE(pt2 == pt);

	delete text;
}