public void ShouldThrowExceptionForAddingContentContainerToControlWithNameThatHasNoMapping() { IControllableBean bean = new ControllableBean(); Mock<IWebElement> contentContainer = new Mock<IWebElement>(); bean.SetControlContentContainer("name", contentContainer.Object); }