public void Author_Set_Get() { var attribute = new PluginAttribute("test"); attribute.Author = "test"; Assert.Equal("test", attribute.Author); }
public void Author_SetNullValue_ThrowsArgumentNullException() { var attribute = new PluginAttribute("test"); Assert.Throws <ArgumentNullException>(() => attribute.Author = null !); }
public void Name_Get() { var attribute = new PluginAttribute("test"); Assert.Equal("test", attribute.Name); }