public void TestMethod4() { // chainig assertion // private method SensorData data = new SensorData(); (data.AsDynamic().GetSensorName() as string).Is("sensor1"); }