Exemplo n.º 1
0
 public virtual void test_of_lookup_notFound()
 {
     assertThrows(() => FxVanillaOptionMethod.of("Rubbish"), typeof(System.ArgumentException));
 }
Exemplo n.º 2
0
 public virtual void test_of_lookup_null()
 {
     assertThrows(() => FxVanillaOptionMethod.of(null), typeof(System.ArgumentException));
 }
Exemplo n.º 3
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test(dataProvider = "name") public void test_of_lookup(FxVanillaOptionMethod convention, String name)
        public virtual void test_of_lookup(FxVanillaOptionMethod convention, string name)
        {
            assertEquals(FxVanillaOptionMethod.of(name), convention);
        }