PropertyExpressionEngineTest.CreateFromObject_Should_Return_Correctly Method

<TestCase(345, "345")> _ 
<TestCase("abc123", "abc123")> _ 
<TestCase(true, "True")> _ 
Public Sub CreateFromObject_Should_Return_Correctly( _ 
ByVal value As Object, _ 
ByVal expected As String
)
This language is not supported or no code example is available.
[TestCase(345, "345")] 
[TestCase("abc123", "abc123")] 
[TestCase(true, "True")] 
public void CreateFromObject_Should_Return_Correctly( 
object value
string expected 
)
This language is not supported or no code example is available.
[TestCase(345, "345")] 
[TestCase("abc123", "abc123")] 
[TestCase(true, "True")] 
public:  
void CreateFromObject_Should_Return_Correctly( 
object^ value
String^ expected 
)
This language is not supported or no code example is available.
public  
TestCase(345, "345") 
TestCase("abc123", "abc123") 
TestCase(true, "True") 
function CreateFromObject_Should_Return_Correctly( 
value : object
expected : String 
);
This language is not supported or no code example is available.

Parameters

value
object

expected
string

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1

In this article

Definition