Ejemplo n.º 1
0
    public void Can_retrieve_container_by_identifier()
    {
        var defaultContainer = CKContainer.DefaultContainer();
        var identifier       = defaultContainer.ContainerIdentifier;
        var otherContainer   = CKContainer.ContainerWithIdentifier(identifier);

        Assert.AreEqual(identifier, otherContainer.ContainerIdentifier);

        //These are not the same object?
        //Assert.AreEqual(defaultContainer, otherContainer);
    }