Tests casting/inserting of custom objects with `String::insert()`.

Returns

void

Source

						public function testInsertWithObject() {
		$foo = new MockStringObject();
		$result = String::insert('This is a {:foo}', compact('foo'));
		$expected = 'This is a custom object';
		$this->assertEqual($expected, $result);
	}