public void GetAndSetValuesOnRoot(IUpdatableResourceDataSource source) { Assert.Equal("/home/code", source.GetValue("CodeUri")); source.SetValue("s3://my-bucket/my-key", "CodeUri"); Assert.Equal("s3://my-bucket/my-key", source.GetValue("CodeUri")); }
public void GetAndSetValuesOnChildOnObject(IUpdatableResourceDataSource source) { Assert.Equal("/currentProject", source.GetValue("Code", "S3Key")); source.SetValue("my-key", "Code", "S3Key"); Assert.Equal("my-key", source.GetValue("Code", "S3Key")); }
public void GetNullValueAndSetValuesOnChildOnObject(IUpdatableResourceDataSource source) { Assert.Null(source.GetValue("Code", "S3Key")); source.SetValue("my-key", "Code", "S3Key"); Assert.Equal("my-key", source.GetValue("Code", "S3Key")); }