package usecase

import "testing"

func TestConnectionFlagsAssignmentOrder(t *testing.T) {
	// connectionFlags returns (browserConnected, apiConnected).
	browserFromRepo, apiFromRepo := true, false

	var browserConnected, apiConnected bool
	browserConnected, apiConnected = browserFromRepo, apiFromRepo

	if !browserConnected {
		t.Fatal("browser flag should be true")
	}
	if apiConnected {
		t.Fatal("api flag should be false")
	}
}
