expectException(UnsupportedTypeException::class); WriterFactory::create('unsupportedType'); } }