public void EvaluateSyncForRegister() { string expressionText = "$rax"; IDebugExpression expression = CreateExpression(expressionText); RemoteValueFake findValueValueNode = RemoteValueFakeUtil.CreateUnsignedLongRegister("rax", 123u); _mockDebuggerStackFrame.FindValue("rax", ValueType.Register) .Returns(findValueValueNode); Assert.AreEqual(VSConstants.S_OK, expression.EvaluateSync(0, 0, null, out IDebugProperty2 property)); Assert.AreEqual(expressionText, GetName(property)); Assert.AreEqual("unsigned long", GetType(property)); Assert.AreEqual("123", GetValue(property)); }