public void MetodoInstanciaTest() { //arrange ClaseC claseC = new ClaseC(); //Act+Assert Assert.ThrowsException <MiException>(() => claseC.MetodoInstancia()); }
static void Main(string[] args) { ClaseC c = new ClaseC(); }