Exemple #1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Sets up the text we expect to be added to the view in place of the empty paragraph
 /// </summary>
 /// <param name="vc">view constructor to use</param>
 /// <param name="hvo">hvo of the object to create a prompt for</param>
 /// <param name="frag">fragment id indicating the type of user prompt</param>
 /// <param name="flid">field id for the view system note dependency</param>
 /// ------------------------------------------------------------------------------------
 private void CreateExpectedUserPrompt(TeStVc vc, int hvo, int frag, int flid)
 {
     // Set expectations
     m_vwenvMock.Expect(x => x.NoteDependency(new int[] { hvo }, new int[] { flid }, 1));
     m_vwenvMock.Expect(x => x.AddProp(SimpleRootSite.kTagUserPrompt, vc, frag));
 }