Skip to content

Instantly share code, notes, and snippets.

@ifew ifew/Member.cs
Created Jul 5, 2018

What would you like to do?
.Net Core 2 Test Doubles
using System;
namespace member_dummy
public class Member
Boolean authorized;
public Member(IAuthorize authorize) {
this.authorized = authorize.CheckAuthorize("ifew", "1234");
public string Profile() {
return "Welcome to member area";
return "This not member area";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.