[Fact] public void ToInterfaceShouldReturnAnInterface() { var dml = GetNamespace().DMLs.First(); var actual = TypeScript.ToInterface(dml.MethodName, dml.FirstResultSets); var expected = " interface GetMyFilm {\r\n film_id: number\n description?: string\n length?: number\r\n }"; Assert.Equal(expected, actual); }