public void ApplyResources() { //Add another resource manager to the list TestObject to = new TestObject(); ComponentResourceManager mgr = new ComponentResourceManager(to.GetType()); resourceManagerList.Add(mgr); messageSource.ResourceManagers = resourceManagerList; messageSource.ApplyResources(to, "testObject", CultureInfo.CurrentCulture); Assert.AreEqual("Mark", to.Name); Assert.AreEqual(35, to.Age); }