public void SaveContainsEntity() { ExtraContentRepository repository = new ExtraContentRepository(); ExtraContent extra = repository.ExtraContents[0]; ExtraContent newExtra = new ExtraContent(); newExtra.ID = extra.ID; newExtra.Reinitialization(extra); Assert.IsFalse(repository.SaveEntity(newExtra)); }
public void SaveNullEntity() { ExtraContentRepository repository = new ExtraContentRepository(); Assert.IsFalse(repository.SaveEntity <ExtraContent>(null)); }