    @Test
    public void yamlTest()
    {

        Serialization global = prepareSerialization();

        EntityStorage entityStorage = prepareObject();

        System.out.println("[YAML] Deserializing javabean: \n");
        {
            String toYaml = global.toYaml(entityStorage.beanObject);
            System.out.println(toYaml);
            Assert.assertEquals(entityStorage.beanObject, global.fromYaml(toYaml, BeanObject.class));
        }

        System.out.println("\n[YAML] Deserializing object: \n" + entityStorage + "\n");
        String toYaml = global.toYaml(entityStorage);
        System.out.println(toYaml);
        System.out.println();

        EntityStorage storage = global.fromYaml(toYaml, EntityStorage.class);
        System.out.println("\n[YAML] Deserialized object: \n" + storage);
        Assert.assertEquals(entityStorage.toString(), storage.toString());
        Assert.assertEquals(entityStorage, storage);

        System.out.println("\n[YAML] Objects equals!");
    }