public function __construct()
 {
     $this->xmlSerializer = new XmlSerializer();
     $this->builder = new ServicesBuilder();
     Logger::setLogFile('C:\\log.txt');
     // Enable PHP asserts
     assert_options(ASSERT_ACTIVE, 1);
     assert_options(ASSERT_WARNING, 0);
     assert_options(ASSERT_QUIET_EVAL, 1);
     assert_options(ASSERT_CALLBACK, 'MicrosoftAzure\\Storage\\Tests\\Framework\\RestProxyTestBase::assertHandler');
 }
 /**
  * @covers MicrosoftAzure\Storage\Common\Internal\Logger::log
  * @covers MicrosoftAzure\Storage\Common\Internal\Logger::setLogFile
  */
 public function testLogWithString()
 {
     // Setup
     $virtualPath = VirtualFileSystem::newFile(Resources::EMPTY_STRING);
     $tip = 'This is string';
     $expected = "{$tip}\nI'm a string\n";
     Logger::setLogFile($virtualPath);
     // Test
     Logger::log('I\'m a string', $tip);
     // Assert
     $actual = file_get_contents($virtualPath);
     $this->assertEquals($expected, $actual);
 }