public static void Should_ReturnDefaultCameraType_IfStringDoesNotMatch() { var cameraType = "obviouslyNotAValidOne"; var camera = CameraType.FromString(cameraType); Assert.Equal(default, camera);
public static void Should_ReturnCameraTypeFromString(string cameraType) { var camera = CameraType.FromString(cameraType); Assert.Equal(cameraType, camera.ToString()); }